package com.hope.bubble.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hope.bubble.mapper.BubbleBoardMapper;
import com.hope.bubble.mapper.BubbleTipMapper;
import com.hope.bubble.model.entity.BubbleTip;
import com.hope.bubble.service.IBubbleTipService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 文件名：BubbleTipServiceImpl
 * 创建者：hope
 * 邮箱：1602774287@qq.com
 * 微信：hope4cc
 * 创建时间：2022/10/21-17:27
 * 描述：
 */
@Slf4j
@Service
public class BubbleTipServiceImpl
        extends ServiceImpl<BubbleTipMapper, BubbleTip> implements IBubbleTipService {




    @Override
    public BubbleTip getRandomTip() {
        BubbleTip todayTip = null;

            todayTip = this.baseMapper.getRandomTip();


        return todayTip;
    }




}
